#!/usr/local/bin/python

#for number in range(1,100):
#  print "Hello, world!"
#  print "Just", 100 - number, "more to go.."

#print "Hellow, world"
#print "That was the last one.."

print "Please select a shape:"
print "1 Rectangle"
print "2 Circle"

shape = input("> ")

if shape == 1:
  height = input("Please enter height: ")
  width = input("Please enter weidth: ")
  area = height*width
  print "the area is", area
else:
  radius = input("Please enter raidus: ")
  area = 3.14*(radius**2)
  print "the area is", area

number = input("Give me a number: ")

def floor(num):
  result = 0
  while result <= num:
    result = result+1
  result = result-1
  return result
  
y = floor(number)

print "The floor of", number, "is", y 


